package sg.edu.nus.iss.cerberus.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author Lin Naing Oo(A0079983E)
 * */


public class CConstructor extends CMethod{
	
	private boolean defaultConstructor = false;
	
	public CConstructor(String accessModi, String name, ArrayList<String> params){
		super(accessModi, name, params);
	}
	
	public CConstructor(String accessModi, String name, ArrayList<String> params, boolean isDefault){
		super(accessModi, name, params);
		this.defaultConstructor = isDefault;
	}
	
	public void setDefault(boolean value){
		this.defaultConstructor = value;
	}
	
	public boolean isDefault(){
		return defaultConstructor;
	}
}
